home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 031a / pcal21.zip / PORTCAL.TXT < prev    next >
Text File  |  1991-07-29  |  17KB  |  396 lines

  1.  
  2.             PortCal - Portfolio Calendar for Windows 3.0
  3.                Version 2.1
  4.         Created Using Microsoft Visual Basic
  5.  
  6.  
  7. First the nasty stuff:
  8.   This program is freeware and may be freely copied.  There is no 
  9. warranty, expressed or implied, on either this program or the 
  10. original Microsoft sample code which may be included within it.
  11.  
  12. Now that that's out of the way --
  13.  
  14. I have found that the Portfolio makes a wonderful peripheral to my 
  15. desktop PC.  I do work on the PC, and when I have to leave my office, 
  16. I simply take important files with me on the PF.  I like to use the 
  17. built-in applications on the Portfolio, as they work fairly well, and 
  18. they take up zero RAM on my limited file storage space.
  19.  
  20. However, I could not find any program that will let me use the 
  21. file(s) maintained by the Portfolio's calendar program.  There are 
  22. alot of nice calendar programs for the PC, but none were quite what I 
  23. wanted.  I wanted, well, the Portfolio's calendar under Windows.  So 
  24. I wrote one.
  25.  
  26. This program was written using Microsift Visual Basic.  All Visual 
  27. Basic programs require the file VBRUN100.DLL.  If you  don't have 
  28. Visual Basic, this file can be obtained from the Visual Basic 
  29. Library in the Microsoft Languages Forum on CompuServe. (The file
  30. should be in the same directory as Windows itself.)
  31.  
  32. To install PortCal in Windows:
  33.  (1) Copy PORTCAL.EXE to the WINDOWS subdirectory (or other desired 
  34. directory)
  35.  (2) Open the Program Manager, and select the Program Group that you 
  36. wish to contain PortCal
  37.  (3) Select New... from the file menu
  38.  (4) Select "Program Item" and click OK
  39.  (5) In the Description field, type "Portfolio Calendar"
  40.  (6) Click "Browse", and use the dialog box to find PORTCAL.EXE.  
  41. Click OK
  42.  (7) The pathname and filename for PortCal should now be in the 
  43. Command Line field.  Click on OK to install the PortCard icon.
  44.  (8) The Portfolio Calendar icon should now be in your selected 
  45. group.  (You may have to scroll the window around a bit to find it.)
  46.  (9) If you relocate the Portfolio Icon within the window, and you 
  47. wish to save that position, select Save Changes the next time you 
  48. exit Windows
  49.  Further information on installing programs can be found in the
  50. Microsoft Windows User's Guide
  51.  
  52. To have Portcal launch automatically when a .DRY file is "run":
  53.  (1) Use the File Manager to locate a .DRY file.  Click once on the 
  54. file to highlight it.
  55.  (2) Select "Associate..." from the file menu.
  56.  (3) Type PORTCAL.EXE in the dialog box.  (If PORTCARD.EXE is in a 
  57. directory not in your PATH, then you will have to type the full 
  58. pathname for PORTCARD.)
  59. (4) Click OK.
  60.  Further information on the File Manager can be found in the
  61. Microsoft Windows User's Guide
  62.  
  63. To get Windows to automatically launch PortCal upon startup:
  64.  (Note:  It seems silly to autolaunch PortCal without autoloading a 
  65. file, so these instructions assume you want to do that.)
  66. (1) If you have not performed the previous steps, do them now.
  67. (2) Use the Windows Notepad to open the file WIN.INI.  It will be in 
  68. your Windows directory
  69. (3) Fairly early in the file, you will find two lines, reading:
  70.   run=
  71.   load=
  72. (4) After the word run=, put a blank and the name of the .DRY file 
  73. you want loaded.  If there is already something after run=, just tack 
  74. the name of your .DRY file on the end of the line.  Be sure to have 
  75. only one blank between filenames, or Windows will report an error on 
  76. startup.  If your .DRY file is not in your path, be sure to use a 
  77. full pathname.
  78. (5) If you want PortCal to startup as an icon, use the load= line 
  79. instead of the run= line.
  80. Example:  I keep my calendar on a memory card, and have a PC Card 
  81. Drive installed as drive D:.  I want PortCal to autostart and load 
  82. that file, so my WIN.INI file has the following:
  83.  run= nwpopup.exe d:\schedule.dry
  84. Notice that there was already a file on the line (nwpopup.exe), so I 
  85. put mine on the end.
  86.  
  87. Also note that in the above example, if I do not have a card in the 
  88. card drive when I start Windows, Windows will report a system error 
  89. on drive D.  I can insert the card at that time, or tell Windows to 
  90. "cancel" my request, in which case PortCal will not be loaded.
  91.  
  92. If you've done the above properly, the next time you start Windows, 
  93. PortCal will automatically run.  Further information in the WIN.INI
  94. file can be found in the file WININI.TXT, which was copied to your
  95. WINDOWS directory when you installed Windows.
  96.  
  97. -----------------------------
  98. To use PortCal:
  99.  
  100. Start it like any other Windows Program.  The main Window will 
  101. display.  On the left is the calendar display, and on the right is 
  102. the edit area and the event display.
  103.  
  104.  
  105. The Calendar Display
  106. On the left is a one-month calendar display.  Above the calendar is 
  107. listed the Month and Year displayed.  Both month and year are pull-down
  108. menus. You can use them to display any month.  (The year menu 
  109. always ranges from one year in the past to 9 years in the future.)
  110. At the top of each menu is the entry "(now)", which will 
  111. automatically switch the view to today's date.
  112.  
  113. In the calendar, days with events scheduled are underlined.  Note 
  114. that recurring events will only show up as the next "recurrence" 
  115. time.  (This is the same as the Portfolio)
  116.  
  117. On the right side of the screen is the daily display.  The currently 
  118. displayed date is shown.  If there is a "Headline" for that day (An 
  119. event with a date but no time), it will show up next to the date.  
  120. There can be only one headline per day, the same as the Portfolio.
  121.  
  122. Underneath the Headline/Date display is the event display.  If you 
  123. have any events for that day, they will show up here.  Unlike the 
  124. Portfolio, it will only show one day's events.  (I did that because I 
  125. like it better that way.)  All events will be in the form:
  126.  @d 13:40 Event Description
  127. This is exactly like the Portfolio's display, except that an "@" 
  128. symbol is used to indicate an alarm instead of the musical note.  The 
  129. letter indicates a daily event.  The letters are the same as the 
  130. Portfolio:
  131.  d - daily
  132.  w - weekly
  133.  n - weekday (non-weekend)
  134.  m - monthly
  135.  y - yearly
  136.  
  137. The standard windows controls (minimize, maximize, etc) are in their 
  138. usual places.  You can resize the window to any size.  There is a
  139. "minimum size", and if yo try to size the window smaller, it will
  140. snap back to it's smallest allowed size.  The text boxes on the right
  141. side of the window will resize to accomodate the new window size.
  142.  
  143. If there are more events for a date than will fit in the event box, a
  144. vertical scroll bar will appear in the event box.  
  145.  
  146. Above the date display area is the edit area.  It consists of an 
  147. alarm checkbox, a recurring pull-down menu, and an edit box.
  148.  
  149. To select a date for display:
  150.  Type the date in the edit box and press Enter.
  151.  -or-
  152.  Use the mouse and click on the date in the calendar.  (The currently 
  153. selected day is in italics).  If you click on a date at the end of 
  154. the previous month or the beginning of the next month, the calendar 
  155. will change to display the month you clicked.
  156.  -or-
  157. Press the Home key to display today's date.
  158.  
  159. To enter a new headline:
  160.  Type the headline in the edit box and Press Enter.  The headline 
  161. will be entered for the displayed date.
  162. You can also use the form:
  163.      mm/dd/yy headline
  164.  The date will switch to the selected date, and the headline will be 
  165. entered. (The date format varies depending on your Control Panel
  166. settings.)
  167.  
  168. To enter a timed event:
  169.  Do the same as the headline event, but specify a time.  For example:
  170.     13:00 Have lunch with Don
  171. will enter the appointment at 1pm of the displayed date.
  172.     6/30 3p Report due
  173. will enter the appointment at 3pm on June 30 of the current year.
  174.  
  175. In most cases, if you type an entry without hitting Enter, then click 
  176. the mouse on the headline box, the event will be entered for you.
  177.  
  178. To specify an alarm event, click the Alarm checkbox before completing 
  179. your entry.  Headlines cannot have alarms.
  180.  
  181. To specify a recurring event, use the Recurring list box to select 
  182. your recurring interval before completing your entry.  Both headlines 
  183. and events can be recurring.
  184.  
  185.  
  186. To modify an existing event:
  187. Double-click on the headline or event.  It will be copied to the edit 
  188. area.  Make your changes and click the headline window (or press 
  189. Enter)
  190.  
  191. To delete an event
  192.   For both headlines and time events, you can double-click on the 
  193. event to bring it into the edit window.  Then erase the text and 
  194. Press Enter.
  195.  For time events only, you can single-click the event to highlight 
  196. it, then press the Delete key.
  197.  
  198. To delete old events
  199.   Select Delete Old... from the Edit menu.  A dialog box will appear,
  200. allowing you to enter an "old entry" date.  (The date defaults to two
  201. weeks prior to today's date.)  Enter the date and click OK.  All
  202. non-recurring events older than the date specified will be deleted.
  203.  
  204. Moving an entry:
  205.  Double-click the entry (single-clicking also works 
  206. for time entries), and select Move from the Edit menu.  Fill in the 
  207. new date and time and click OK. (Headlines will have no time.)
  208.  -or-
  209.  If you only want to change the date (but not the time), click once
  210. the event or headline you wish to change.  A small black box will
  211. appear in the narrow strip between the event display and the calendar
  212. display.  Move the mouse over the box, and press and hold the left
  213. mouse button.  Drag the box over the new date in the calendar and
  214. release the mouse button.  The entry will be moved to the new date.
  215.   If you hold down the Ctrl key while you do this, the entry will be
  216. copied instead of moved.
  217.  
  218. Alarms
  219.  Alarms will go off as long as PortCal is running.  A dialog box will 
  220. appear with the date, time, and event.  Press OK to dismiss the box.
  221.  
  222. Searching
  223.  You can search for an event by its text.  From the search menu, 
  224. select Find.  Type in the string you want to find.  Upper/lower case
  225. is not important. Use the radio buttons to select the starting point 
  226. of the search. (Earliest point in time, or strting from the displayed
  227. date.)  Press OK.
  228.  If you want to keep searching, select Find Again from the Search
  229. menu (or press F3).
  230.  
  231.   You can also view the entire list of events (much like the
  232. Portfolio's display).  Simply select List from the Search menu, and
  233. a new window will open with the entire list of events.  Double-click
  234. event of your choice, and you will return to the main window with your
  235. selected day as the day shown in the event area.
  236.  
  237.  
  238. Menus
  239.  
  240. File / New - Clears the calendar to start anew.
  241. File / Open... Brings up a dialog box to select a file.  The file 
  242. will be loaded, wiping out whatever's there.
  243. File / Refresh - Re-reads the current file from disk, replacing whatever
  244. is in memory.  Handy for PC Card Drive owners who yank the card out
  245. of their PCs to take it into a meeting.
  246. File / Save - saves the current file.  If it is a new file, it works 
  247. the same as "Save As..."
  248. File / Save As... Let's you specify a filename for saving.
  249. File / Exit - Quits Portcal
  250.  
  251. Edit / Cut, Copy, Paste, Delete, Select All - Standard Clipboard 
  252. functions.  Only available while using the Edit Box.
  253.  
  254. Edit / Move - Moves the currently selected event.
  255. Edit / Delete Old... Deletes all non-recurring events older than the
  256. specified date.
  257.  
  258. Search/Find - Lets you search for a specific string.
  259. Search/Find Again - In case your first search didn't go far enough.
  260. Search/List - Shows the entire list of events (not just one day).
  261.  
  262. Links/...  Enables connection to PortCard.  A description of the feature
  263.  can be found in the file WinPort.TXT
  264.  
  265. About / About PortCard - The credits.
  266.  
  267. Messages
  268.  Save Curent Changes? (Yes/No/Cancel) - You attempted Exit, New, or
  269. Open and the current file has changes that haven't been saved. (The
  270. changes could be your entries, or a recurring entry that was moved.)
  271.      Yes - Saves the file
  272.      No - Does not save the file
  273.      Cancel - Cancels the New, Open, or Exit.
  274.  
  275. Replace headline? (Yes/No) You entered a headline for a date that 
  276. already has one.
  277.  
  278. The headline could not be moved because there is already a headline
  279. for that date (OK).  - Only one headline is allowed for any date.
  280.  
  281. One or more recurring headlines had to be moved due to a conflict 
  282. with another headline (OK) - Headlines can be recurring, but only one 
  283. headline per day is allowed.  This can cause a conflict when recurring
  284. headlines are resolved during file load.  
  285. PortCal will move headlines one or more "recurrences" into the future 
  286. to resolve the conflict.
  287.  
  288. One or more recurring events had to be moved due to the different
  289. number of days in each month (OK) - PortCal attempted to move a
  290. monthly or yearly event to a month/year that resulted in an illegal
  291. date, such as September 31 or February 29 (during a non-leap year).  The
  292. event was rescheduled for the last valid day of the target month.  This
  293. message normally appears during file load, but could also appear after
  294. an alarm goes off (if the alarm is a recurring event).
  295.  
  296. A word about recurring events:
  297. In PortCal (and the PortFolio) recurring events are entered only 
  298. once.  When the event has past, it gets moved to the next recurrence 
  299. time.
  300. Like the Portfolio, PortCal moves recurring events during file load 
  301. ONLY.  The only exception to this is Alarms.  If a recurring event 
  302. has an alarm that event only will get moved after the alarm goes off 
  303. (or during file load).
  304.  
  305. Date/Time formats:
  306.  The Headline box will always display as "Month dd, yyyy". Times will 
  307. always be displayed as hh:mm.  However, when entering dates and times 
  308. you can very flexible.  Dates and times will be parsed in a variety 
  309. of formats, depending on how much information you enter and the 
  310. settings of your Control Panel.
  311. When entering a date in the main edit box, do not use a format that 
  312. requires blanks.  PortCal only checks single words (defined by 
  313. blanks) to determine if they are dates or times.
  314.  
  315. Other notes: Maximum - 500 Events
  316.  
  317.  
  318.  
  319. Enhancements/Bug Fixes: 
  320.  
  321. In version 2.1
  322.   The Repeat drop-down menu was changed.  Weekday is now Non-Weekend, and
  323. None is now -None-.  This enabled you to select any item using the
  324. keyboard (by pressing the key of the first character). 
  325.  
  326.   Support for a DDE connection to PortCard has been added.  Details can
  327. be found in the file WINPORT.TXT
  328.  
  329.   After a successful find, the event window would not show any events
  330. occurring before the found event on the same day.  This has been fixed.
  331.  
  332.   The capability of moving or copying an entry using the mouse has been
  333. added.
  334.  
  335.   Many menu choices have had Keyboard equivalents added.  (Differences
  336. between Windows and the Portfolio made it difficult or confusing to use
  337. the same "hot keys".  Therefore, Windows conventions (where known) were 
  338. used in deciding which keys to use.
  339.  
  340.   If an alarm message was already being displayed when a second alarm 
  341. should go off, the second alarm would be skipped.  This has been fixed
  342. such that the second alarm will go off as soon as the first message has
  343. been acknowledged.
  344.  
  345.   The About Box (minus the OK button) will appear during startup.  It
  346. will vanish when the startup processing is completed.
  347.  
  348.  
  349. In version 2.0
  350.   Added the Search/List menu and associated function.
  351.  
  352.   Fixed a bug in weekly recurring events.  If you loaded a file, and
  353. the weekly event was for the current day but an earlier time, the
  354. event would not move to the next week.
  355.  
  356.   Fixed an end-of month problem for monthly and yearly recurring
  357. events.  Previously, if a recurring event was for the 31st of the month,
  358. and was "moved" to a month with only 30 days in it, an error would occur.
  359. Now the event is moved to the last day of the shorter month, and a
  360. message is displayed.
  361.  
  362.   There were several instances in which the Calendar display would not
  363. update automatically to reflect changes in the schedule.  These have
  364. been fixed.
  365.  
  366.   The Delete Old feature has been added.
  367.  
  368.   Under certain conditions, using the Control Box to quit PortCal instead
  369. of the File/Exit menu selection would cause the window and icon to disappear,
  370. but the program would remain in the Task Manager.  Additionally, when the
  371. Control Box was used, PortCal would not prompt you to Save Changes.  These
  372. have been fixed.
  373.  
  374.   The Find command would always start at the oldest scheduled event instead
  375. of the currently displayed date, regardless of the user selection.  This
  376. has been fixed.
  377.  
  378.   If a date was typed in the Edit Box whose year was out-of range for the
  379. Calendar's "Year" menu, an error would occur that would abort the program.
  380. Now, the year menu will display a blank year until the selected date is
  381. within range again.
  382.  
  383.  
  384.  
  385. Well, that's about it.  Send me your comments, suggestions, and bug 
  386. reports.  I make no promises, though, as I work on this in my spare
  387. time (of which I seem to have very little.)
  388.  
  389. Enjoy!
  390.  
  391. Brian Johnson
  392. CompuServe: 72366,1710
  393. MCI: 306-1475
  394. Internet: BDJ@ssw.com
  395.  
  396.